package org.bing.engine.common.scheduler;

import java.util.concurrent.ScheduledFuture;

@SuppressWarnings("rawtypes")
public class SimpleTaskProxy {
    private String taskName;
    private long beginTime;
    private long endTime;
    private ScheduledFuture future;

    public SimpleTaskProxy(String name, long begin, long end, ScheduledFuture future) {
        this.taskName = name;
        this.beginTime = begin;
        this.endTime = end;
        this.future = future;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public long getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(long beginTime) {
        this.beginTime = beginTime;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    public ScheduledFuture getFuture() {
        return future;
    }

    public void setFuture(ScheduledFuture future) {
        this.future = future;
    }
}
